package com.chinasoft.class5.group4.TrueWord;

import com.chinasoft.main.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class WangLeiTureWord implements TrueWord {

    List<String> wordList = new ArrayList<String>();

    public WangLeiTureWord()
    {
        wordList.add("今天中午吃芷园！");
        wordList.add("今天晚上吃芷园！");
        wordList.add("今天早上吃芷园！");
        wordList.add("今天下午吃芷园！");
        wordList.add("明天晚上吃芷园！");
        wordList.add("明天早上吃芷园！");
        wordList.add("喝一口奇康水！");
    }

    @Override
    public String getWord() {
        Random random = new Random();
        int index = random.nextInt(wordList.size());
        return this.wordList.get(index);
    }

    @Override
    public String getName() {
        return "王磊";
    }
}
